﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="JgMain_BZ_update.aspx.cs" Inherits="JiGouManage_JgMain_BZ_update" %>



<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<script>


function chknull()
{
    if(document.getElementById('GangWei').value=='')
    {
    alert('岗位不能为空');
    form1.GangWei.focus();
    return false;
    }	
 
 
    if(document.getElementById('BianZhiS').value=='')
    {
    alert('编制数不能为空');
    form1.BianZhiS.focus();
    return false;
    }
      
     if(document.getElementById('BianZhiS').value!='')
    {
    var objRe = /^(0|[1-9]\d*)$/;
    if(!objRe.test(document.getElementById('BianZhiS').value))
    {
    alert('编制数只能为数字');
    form1.BianZhiS.focus();
    return false;
    }
    }  
    
    showwait();	
}  
	



var  wName;  
function  OpenType(tbox,ttype)  
{  
    var num=Math.random();
    var str=document.getElementById(tbox).value;
    wName=window.showModalDialog("../OpenWindows/open_SysData.aspx?tmp="+num+"&requeststr="+str+"&type="+ttype+"","window", "dialogWidth:400px;DialogHeight=480px;status:no;scroll=yes;help:no");               
    if(wName!=null && wName!= "undefined")
    {
    document.getElementById(tbox).value=wName; 
    }
}



</script>



<head id="Head1" runat="server">
    <title>河南煤化鹤煤集团安全档案管理系统</title>
        <LINK href="../css/public.css" type="text/css" rel="stylesheet">
         <LINK href="../css/style_oa_30.css" type="text/css" rel="stylesheet">
           <script src="../public/public.js" type="text/javascript"></script>
         <base target=_self />	
</head>
<body  bgcolor="#E7E7E7" >
    <form id="form1" runat="server">
    <!--#include file="../public/pleasewait.htm"-->
  
     <script language="javascript" src="../public/DateSelect.js"></script>
<table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0">
  <tr>
    <td valign="top"><table width="100%" height="1" border="0" cellpadding="0" cellspacing="0">
        <tr>
          <td>
              </td>
        </tr>
      </table>
      <table width="100%" height="35" border="0" cellpadding="0" cellspacing="0">
        <tr> 
          <td height="35">
           <div id="printshow1">
          <table width="100%" height="35" border="0" cellpadding="0" cellspacing="0">
              <tr> 
                <td width="1"></td>
                <td valign="top"> <table width="100%" height="24" border="0" cellpadding="0" cellspacing="0">
                    <tr> 
                      <td width="3%"><img src="../images/top_3.gif" ></td>
                      <td width="81%" valign="bottom">工作台 >> 机构管理 >> 新增岗位编制 </td>
                      <td width="81%">&nbsp;</td>
                    </tr>
                  </table>
                  <table width="100%" height="6" border="0" cellpadding="0" cellspacing="0" background="../images/lingbg.jpg">
                    <tr> 
                      <td></td>
                    </tr>
                  </table></td>
                <td width="1"></td>
              </tr>
            </table>
             </div>
            </td>
        </tr>
      </table>
      <table width="100%" height="35" border="0" cellpadding="0" cellspacing="0">
        <tr> 
          <td height="35">
            <div id="printshow2"> 
          <table width="100%" height="35" border="0" cellpadding="0" cellspacing="0">
              <tr> 
                <td width="1"></td>
                <td valign="top"> 
           <table align="center" background="../images/bg0003.gif" border="0" cellpadding="0"
                        cellspacing="0" width="100%">
                        <tr>
                            <td width=30% style="height: 26px">
                                <button class="btn4off" 
                                    type="button">
                                    <font class="shadow_but">岗位编制</font></button></td>
                              <td style="height: 26px" align="right" > &nbsp;</td>
                        </tr>
                    </table>
                </td>
                <td width="1"></td>
              </tr>
            </table>
            </div>
            <table width="100%" height="35" border="0" cellpadding="0" cellspacing="0">
                <tr>
                    <td width="17">
                        &nbsp;</td>
                    <td valign="top" >
                  
                        <table align="center" bgcolor="#999999" border="0" cellpadding="4" cellspacing="1"
                            width="100%">
                         
                            <tr>
                                <td align="right" bgcolor="#cccccc" class="cpx12hei" height="17" nowrap="nowrap"
                                    width="17%">
                                    机构名称：</td>
                                <td bgcolor="#efefef" class="cpx12hei" colspan="3" height="17">
                                    <asp:TextBox ID="Name" runat="server" Width="99%" ReadOnly="True" ></asp:TextBox>
                                </td>
                            </tr>
                         
                            
                          <tr>
                                <td align="right" bgcolor="#cccccc" class="cpx12hei" height="17" nowrap="nowrap"
                                    width="17%">
                                    岗位：</td>
                                <td bgcolor="#efefef" class="cpx12hei" height="17" width="33%">
                                    <asp:TextBox ID="GangWei" runat="server" Width="80%"></asp:TextBox><A href="javascript:void(0)"><IMG onclick="OpenType('GangWei','97');" alt="" src="../images/FDJ.gif" border="0"></A>
                                    </td>
                                <td align="right" bgcolor="#cccccc" class="cpx12hei" height="17" nowrap="nowrap"
                                    width="15%">
                                    编制数：</td>
                                <td bgcolor="#efefef" class="cpx12hei" height="17" width="35%">
                                    <asp:TextBox ID="BianZhiS" runat="server" Width="95%"></asp:TextBox>
                                    </td>
                            </tr>
                            
                             <tr  id="printshow3">
                                <td align="center" bgcolor="#efefef" class="cpx12hei" colspan="4" height="26" width="33%">
                                    	<div align="center"><FONT face="宋体">
                                <asp:Button ID="Button1" runat="server" Text="确 定" CssClass="button_blue" OnClick="Button1_Click" />
                                &nbsp; &nbsp; &nbsp;&nbsp;&nbsp;</FONT>
                                <INPUT  TYPE="button"  VALUE="关 闭"  onclick="window.close()" class="button_blue" id="Button2">
                                
                                </div> </td>
                            </tr>
                          
                        </table>
                        
           
                        
                    </td>
                    <td width="17" >
                        &nbsp;</td>
                </tr>
            </table>
          </td>
        </tr>
      </table></td>
  </tr>
</table>
    </form>
</body>
</html>